﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true"
    CodeFile="Gopy.aspx.cs" Inherits="Admin_Gopy" Title="Quản lý góp ý" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link rel="Stylesheet" href="/Online/CSS/Admin.css" type="text/css" />
    <style type="text/css">
        #pnNhap
        {
            margin-top: 10px;
        }
        .GV
        {
            color: White;
            font-size: 17px;
        }
        .GV1
        {
            border: 1px solid #333;
            border-left-style: hidden;
            border-right-style: hidden;
        }
        .HyperLink1
        {
            margin-left: 10px;
        }
        .thongtin
        {
            color: White;
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 20px;
        }
        .noidung
        {
            color: White;
            font-size: 18px;
        }
        p
        {
            font-size: 20px;
            color: White;
            font-weight: bold;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="tieude">
        QUẢN LÝ GÓP Ý</div>
    <div style="height: 330px;">
        <div style="margin-top: 10px;">
            <asp:GridView ID="gvGY" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                DataKeyNames="MaGY" CssClass="GV1" PageSize="10" Width="100%" PagerStyle-CssClass="GV"
                PagerStyle-ForeColor="White">
                <Columns>
                    <asp:TemplateField HeaderText="Xóa" HeaderStyle-HorizontalAlign="Left">
                        <ItemTemplate>
                            <asp:CheckBox ID="ckq1" runat="server" />
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" />
                        <HeaderStyle ForeColor="White" />
                        <ItemStyle ForeColor="White" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="ID" Visible="false">
                        <ItemTemplate>
                            <asp:Label ID="Ma" runat="server" Text='<%#Eval("MaGY") %>'></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" />
                        <HeaderStyle ForeColor="White" />
                        <ItemStyle ForeColor="White" />
                        <ControlStyle ForeColor="White" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Tiêu đề">
                        <ItemTemplate>
                            <asp:HyperLink ID="hpten" runat="server" Text='<%#Eval("Tieude") %>' NavigateUrl='<%#"/Online/Admin/Gopy.aspx?"+"m="+Eval("MaGY") %>'
                                CssClass="HyperLink1"></asp:HyperLink>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Center" />
                        <HeaderStyle ForeColor="White" />
                        <ItemStyle ForeColor="White" />
                        <ControlStyle ForeColor="White" />
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="Ngày đăng">
                        <ItemTemplate>
                            <asp:Label ID="ngaydang" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "NgayGY", "{0:dd/MM/yyyy}")%> '></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle Width="200px" />
                        <HeaderStyle ForeColor="White" />
                        <ItemStyle ForeColor="White" />
                        <ControlStyle ForeColor="White" />
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
        <asp:Panel ID="hthi" runat="server">
            <asp:Button ID="btnXoa" runat="server" CssClass="linkbutton" Text="Xóa" OnClick="btnXoa_Click" />
            <div>
                <asp:Panel ID="ht" runat="server">
                    <div style="margin-left: 20px; margin-right: 10px;">
                        <p>
                            Nội dung thư góp ý</p>
                        <asp:Label ID="thongtin" CssClass="thongtin" runat="server"></asp:Label><br />
                        <asp:Label ID="noidung" CssClass="noidung" runat="server"></asp:Label>
                    </div>
                </asp:Panel>
            </div>
        </asp:Panel>
        <div style="color: White; margin-top: 10px; margin-bottom: 10px; margin-left: 20px;
            width: 1024px; text-align: center; font-style: italic; font-weight: bold;">
            <asp:Label ID="tb" runat="server"></asp:Label><br />
        </div>
    </div>
</asp:Content>
